home *** CD-ROM | disk | FTP | other *** search
- global gLastVisFrame, gLastVisMovie, myCD
-
- on startMovie
- set myCD to cHECKdRIVE("E1.txt")
- end
-
- on stopMovie
- set the keyDownScript to EMPTY
- end
-
- on putFrameMovie
- set gLastVisFrame to the frame
- set gLastVisMovie to the movie
- end
-
- on FForward
- if the key = " " then
- go(marker(1))
- set the keyDownScript to EMPTY
- end if
- end
-
- on LaunchDemo
- set ParameterList to "Ariel_Dm data\boot.stm,MenuBack," & myCD & "\LMSS," & myCD & "\MEDIA,27000,20000"
- open(ParameterList, myCD & "\MEDIA\ZLNCH32.EXE")
- end
-
- on cHECKdRIVE weirdfile
- repeat with i = 66 to 90
- set drive to numToChar(i)
- set thisPath to string(drive & ":\licence\" & weirdfile)
- set myFile to new(xtra("fileIO"))
- openFile(myFile, thisPath, 1)
- if status(myFile) = 0 then
- set myFile to 0
- return drive & ":"
- exit
- end if
- end repeat
- set myFile to 0
- end
-